package com.jyy.prefabricated.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;

/**
 * @version 1.0.0
 * @author: zjj
 */
@Data
public class StudentCertificateDto {

    @Size(min = 1,message = "学生id不能为空")
//    @NotNull(message = "学生id不能为空")
    private List<Integer> studentIds = new ArrayList<>();

    @NotNull(message = "证书id不能为空")
    private Integer certificateId;
}
